package com.greydawn.ProxyPattern;

/**
 * @author zhongwr
 * @date 2021-12-09 16:31:10
 * @description
 */
public class Boy implements PresentGift {

    private String name;

    public Boy(String name) {
        this.name = name;
    }

    @Override
    public void presentFlower(Girl girl) {
        System.out.println("送一束玫瑰花给：" + girl.getName());
    }

    @Override
    public void presentSkirt(Girl girl) {
        System.out.println("送一条JK裙给：" + girl.getName());
    }

    public String getName() {
        return name;
    }
}
